package com.gupaoedu.design.strategy.pro_single.register.enums;

/**
 * <p></p>
 *
 * @author Andy
 * @date 2018/3/12.
 */
public enum Color {

    RED{
        private int r = 255;
        private int g = 0;
        private int b = 0;
    },BLACK{
        private int r = 0;
        private int g = 0;
        private int b = 0;
    },WHITE{
        private int r = 255;
        private int g = 255;
        private int b = 255;
    };

    public static String getColor(Color color) {
        if (color.equals(Color.RED)) {
            return "r=255";
        }
        return "";
    }
}
